- content_for :title, "Change your password"

= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :patch }) do |f|
  = errors_for resource
  = f.hidden_field :reset_password_token
  .required
    = f.label :password, "New password"
    = f.password_field :password
  .required
    = f.label :password_confirmation, "Type your new password again"
    = f.password_field :password_confirmation
  %div.buttons= f.submit "Change my password"
